package com.dianping.cat.home.exception.entity;

import com.dianping.cat.home.exception.BaseEntity;
import com.dianping.cat.home.exception.IVisitor;






public class ExceptionExclude
  extends BaseEntity<ExceptionExclude>
{
  private String m_id;
  private String m_domain;
  private String m_name;

  public ExceptionExclude() {}

/* 20 */   public ExceptionExclude(String id) { this.m_id = id; }




/* 25 */   public void accept(IVisitor visitor) { visitor.visitExceptionExclude(this); }



  public boolean equals(Object obj) {
/* 30 */     if (obj instanceof ExceptionExclude) {
/* 31 */       ExceptionExclude _o = (ExceptionExclude)obj;

/* 33 */       if (!equals(getId(), _o.getId())) {
/* 34 */         return false;
      }

/* 37 */       return true;
    }

/* 40 */     return false;
  }


/* 44 */   public String getDomain() { return this.m_domain; }



/* 48 */   public String getId() { return this.m_id; }



/* 52 */   public String getName() { return this.m_name; }



  public int hashCode() {
/* 57 */     int hash = 0;

/* 59 */     return hash * 31 + ((this.m_id == null) ? 0 : this.m_id.hashCode());
  }




  public void mergeAttributes(ExceptionExclude other) {
/* 66 */     assertAttributeEquals(other, "exception-exclude", "id", this.m_id, other.getId());

/* 68 */     if (other.getDomain() != null) {
/* 69 */       this.m_domain = other.getDomain();
    }

/* 72 */     if (other.getName() != null) {
/* 73 */       this.m_name = other.getName();
    }
  }

  public ExceptionExclude setDomain(String domain) {
/* 78 */     this.m_domain = domain;
/* 79 */     return this;
  }

  public ExceptionExclude setId(String id) {
/* 83 */     this.m_id = id;
/* 84 */     return this;
  }

  public ExceptionExclude setName(String name) {
/* 88 */     this.m_name = name;
/* 89 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/exception/entity/ExceptionExclude.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */